<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>{$this->setting['webname']}管理中心</title>
    <link rel="stylesheet" type="text/css" href="{$this->setting['weburl']}/content/jBox/skin/jbox.css" media="all" />
    <link rel="stylesheet" type="text/css" href="{$this->themesURL}/images/admin.css?v={echo time()}" media="all" />
    <link rel="stylesheet" type="text/css" href="{$this->setting['weburl']}/content/bootstrap/bootstrap.css" media="all" />
    <script type="text/javascript" src="{$this->setting['weburl']}/content/js/jquery.min.js"></script>
    <script type="text/javascript" src="{$this->setting['weburl']}/content/js/common.js"></script>
    <script type="text/javascript" src="{$this->themesURL}/js/admin.js?v={echo time()}"></script>
    <script type="text/javascript" src="{$this->setting['weburl']}/content/bootstrap/bootstrap.min.js"></script>
    <script type="text/javascript" src="{$this->setting['weburl']}/content/jBox/jquery.jBox-2.3.min.js"></script>
    <script type="text/javascript">var host = "{$this->setting['weburl']}"; </script>
</head>
<body>
<div id="header">

    <!-- welcome begin -->
    <div class="welcome">
        <span>欢迎您：<a href="{$this->url('user', 'edit', array('id' => $this->admin['id']) )}" title="修改资料"><b>{$this->admin['author']}</b></a></span>
        <a class="upcache" href="{$this->url('database', 'upcache' )}">更新缓存</a>
        <a href="{$this->url('login', 'logout')}">注销登录</a>
        <a href="{$this->setting['weburl']}">返回首页</a>
    </div>
    <!-- welcome end -->

    <!-- logo begin -->
    <div class="logo">
        <h1><a href="{$this->setting['weburl']}" title="{$this->setting['webname']}">{$this->setting['webname']}</a></h1>
    </div>
    <!-- logo end -->

    <!-- menu begin -->
    <div class="menu">
        <ul>
            <!--{loop $this->menu $k $v}-->
            <li{$k == $c ? ' class="current"' : '';}><a href="{$this->url( $k )}" title="{$v}"><span>{$v}</span></a></li>
            <!--{/loop}-->
        </ul>
    </div>
    <!-- menu end -->
</div>

<!-- content begin -->
<div class="content">

    <div class="path bottom">
        当前位置: <a href="{$this->url()}">{$this->setting['webname']}</a>
        <!--{if $this->menu[$c]}-->
         > <a href="{$this->url($c)}">{$this->menu[$c]} {echo mb_strlen($this->menu[$c], 'utf-8') <= 3 ? '管理' : ''}</a>
        <!--{/if}-->
        <!--{if $a == 'add' or $a == 'edit'}-->
         > <b>{$a == 'add' ? '添加' : '编辑'}{$this->name}</b>
        <!--{elseif R('key')}-->
         > <b>搜索{$this->name}</b>
        <!--{elseif $a == 'purview'}-->
         > <b>权限管理</b>
        <!--{elseif $a == 'config'}-->
         > <b>插件配置</b>
        <!--{elseif isset($error)}-->
         > <b>错误提示</b>
        <!--{/if}-->
    </div>